package com.woniu.dao;

import com.woniu.domain.MapUserLeave;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: ljy  <br/>
 * Date: 2021/6/9:10:49  <br/>
 * Description:
 */
public interface MapUserLeaveDao {
    /*
     * Description : 根据学习地图id查询学习情况  <br/>
     * ChangeLog : 1. 创建 (2021/6/9 10:51 [ljy]);
     ** @param mapId  学习地图id
     * *  @return List<MapUserLeave> 学习情况集合
    */
    @ApiOperation(value = "根据学习地图id查询学习情况 ")
    @ApiImplicitParam(name = "mapId",value = "学习地图id")
    List<MapUserLeave> getMapUserLeaveByMapId(@Param("mapId") Integer mapId);
    @ApiOperation(value = "条件查询学习情况 ")
    @ApiImplicitParam(name = "mapUserLeave",value = "学习进度对象")
    List<MapUserLeave> conditionQueryMapUserLeaveByMapId(MapUserLeave mapUserLeave);
}
